Cleaned up syntax errors in methods