Fix error message; remove compatibility methods