Fix bug with only methods file