right annotation for deprecated methods + contructor fix.