Removed mask code.