Fixed undefined methods