Changed interface method parameters for more user-end flexibility.