Fix for const methods