Using the class name for the constructor is deprecated. Signed-off-by: Florian Pritz <bluewind@xinu.at>