Fixing a few errors, adding support for attributedPlaceholder

Works for me :)