Forced type casting on public setters